<?php namespace Common\Hook;

class AppInitHook
{
	public function run()
	{
		if(!is_file('public/lock.php'))
		{
			if(Q('get.m')!='Install')
				go('Install/Install/setup');
		}
	}
}